package com.dao.systemDao;

import java.util.ArrayList;
import java.util.HashMap;

import admin.mode.AdminMode;
import base.Power;

public interface IUsersDao {
	/**
	 * @author lcl
	 * @param 查询所有的用户
	 * **/
	public ArrayList<HashMap<String, String>> userList(Power power)
			throws Exception;

	/**
	 * @author lcl
	 * @param 删除用户
	 * **/
	public boolean delUser(Power power, String id) throws Exception;

	/**
	 * @author lcl
	 * @param 删除多个用户
	 * **/
	public boolean groupDelete(Power power, AdminMode admin) throws Exception;

	public boolean insertUser(Power power, String username, String password);

	public ArrayList<HashMap<String, String>> userInfo(Power power, String id)
			throws Exception;

	public boolean updataUser(Power power, String id) throws Exception;
}
